home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
wp
/
medit121.zip
/
MGUI
/
MEDIT.TXT
Wrap
Text File
|
1996-05-06
|
5KB
|
125 lines
MEdit, MGUI, MGUI Designer are
Copyright (C) 1996 Vincenzo Morello (morellov@mbox.vol.it)
DJGPP V2 is Copyright (C) 1995 DJ Delorie (dj@delorie.com)
GRX 2.0 is Copyrigth (C) 1995 by Csaba Biegl (csaba@vuse.vanderbilt.edu)
CWSDMPI is Copyrigth (C) 1995 Charles W Sandmann (sandmann@clio.rice.edu)
MEdit is a FREE, graphic, multi-window, cross-platform text editor. It was
initially written to demonstrate MGUI Designer capabilities, but now is evolved
enough to be considered an useful tool, especially in DOS and Linux.
MEdit is an 'easy to use' text editor, not a powerful editor like 'vi'.
Features
- Multi window editing
- PullDown Menu with accelerator keys
- Cut & paste with the standard keystrokes:
<Ctrl+X>, <Ctrl+C>, <Ctrl+V> and <Ctrl+Ins>, <Shift+Ins>, <Shift+Del>
- Cut & Paste with other applications in multitasking envs (Windows, Linux)
- Goto line
- Search forward/backward case sensitive/unsensitive
- Replace
- Three selectable fonts
- Multi-level Undo/Redo
- Source code supplied
- FreeWare
MEdit uses the EDIT Object in the MGUI library which has currently no
optimization for large text. This Object keeps the text in a unique stream and
treats it with standard C functions, so MAXINT is currently the maximum size
for the file to edit (32KB for 16 bit environments like Borland BGI and Windows
3.1). However, the executable medit.exe in this archive, compiled with DJGPP,
is a DOS 32 bit DPMI application. I had no problem editing files with over
4000 lines and over 150KB size.
INSTALLATION
This archive contains the following:
MGUI\BIN\CWSDMPI.EXE Charles W Sandmann DPMI server
MGUI\BIN\CWSDMPI.DOC Info for Charles W Sandmann DPMI server
MGUI\BIN\MEDIT.EXE DJGPP binary version of MEdit
MGUI\SRC\MAKEFILE Makefile to compile MEdit with DJGPP
MGUI\SRC\MEDIT.C Source generated by MGUI Designer
MGUI\SRC\MEDIT.H Include generated by MGUI Designer
MGUI\SRC\MAIN.C Main + File handling callbacks
MGUI\SRC\SEARCH.C Search & Replace callbacks
MGUI\SRC\ME.H defines
MGUI\SYS\*.BMP Bitmaps needed by MGUI applications
MGUI\SYS\*.FNT Some X11 R4 font from MIT (needed by GRX 2.0)
MGUI\MEDIT.TXT The file you're reading
If you extract this archive in a place other than 'C:\', then you *must* set
the environment variable MGUIDIR to point to the extracted 'MGUI\SYS' directory
(i.e. 'D:\TOOLS\MGUI\SYS' if you extract the archive in 'D:\TOOLS').
If you run medit in a DOS session with no DPMI support, than you must add
'MGUI\BIN' in your PATH or move the supplied DPMI server 'CWSDMPI.EXE' in a
location present in the PATH variable.
If you aren't a GRX 2.0 user, you must also set the environment variable
GRX20DRV to specify the viedo driver you need.
Available GRX 2.0 drivers are:
stdvga
stdega
et4000
cl5426
mach64
ati28800
VESA
Add this line in your autoexec.bat if you have, for example, a Mach64
graphic card and you want a 1024x768 display resolution:
SET GRX20DRV=mach64 gw 1024 nc 256
I suggest you to use 256 colors ('nc 256') because the 16 color GRX 2.0 driver
works very, very slow! (I hope Csaba will fix this problem soon).
USAGE
Simply run it, with an optional filename argument, and use it like any GUI
text editor.
A few window management functions are coded in this version of MGUI library.
These are window moves, close, maximize/restore and the following keystroke
actions:
<Alt+F10> causes the active window to be maximized/restored.
<Alt+F4> generates the window manager close message (as in Windows).
<Alt+F2> causes a redraw in all open windows.
<Alt+F1> circulates windows.
<Alt+drag> resizes the window on which the mouse button is pressed.
RECOMPILATION
In order to compile the supplied sources, you need MGUI library 1.5.0 or higher
and the compiler for the target you want.
MGUI for DOS & Windows is available on SimTel 'msdos/graphics/mgdosxxx.zip' and
'win3/graphics/mgwinxxx.zip'
DJGPP V2 and GRX 2.0 are downloadable from SimTel 'vendors/djgpp'
WARRANTY DISCLAIMER
THIS SOFTWARE IS PROVIDED 'AS IS' WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
VINCENZO MORELLO BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT,
INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL
DAMAGES.
BUGS AND SUGGESTIONS
I use MEdit extensively in DOS and Linux environment, so I have already fixed
several bugs. If you find any problem using MEdit or you have suggestions for
some extension, please report to me (morellov@mbox.vol.it).
THANKS
To Charles W Sandmann for the permission to include his DPMI server in this
package.
To DJ Delorie and Csaba Biegl for their High Quality Free Software.